#include "circle.h"

int main(int argc, char const *argv[])
{
	Circle c1, c2;
	int x_1 = 0, y_1 = 0, r_1 = 0;
	int x_2 = 0, y_2 = 0, r_2 = 0;

	cout << "请输入第一个圆的x,y,r" << endl;
	cin >> x_1 >> y_1 >> r_1;
	cout << "请输入第二个圆的x,y,r" << endl;
	cin >> x_2 >> y_2 >> r_2;

	cout << "**********************第一个圆的信息*********************************" << endl;
	c1.set_x(x_1);
	c1.set_y(y_1);
	c1.set_radius(r_1);
	c1.Perimeter(r_1);
	c1.area(r_1);
	c1.diameter(r_1);
	c1.set_center(x_1, y_1);

	cout << "**********************第二个圆的信息*********************************" << endl;
	c2.set_x(x_2);
	c2.set_y(y_2);
	c2.set_radius(r_2);
	c2.Perimeter(r_2);
	c2.area(r_2);
	c2.diameter(r_2);
	c2.set_center(x_2, r_2);

	c1.circle_tangent(c2);
	return 0;
}
